package cn.edu.sgu.www.mhxysy.dto.baoshi;

import cn.edu.sgu.www.mhxysy.dto.DataTransferObject;
import cn.edu.sgu.www.mhxysy.consts.CustomMessages;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class EquipmentViewBaoshiDTO implements DataTransferObject {

	@ApiModelProperty(value = "ID")
	private Integer id;

	/**
	 * 宝石类型ID
	 */
	@Positive(message = "宝石类型ID" + CustomMessages.ILLEGAL)
	@NotNull(message = "宝石类型" + CustomMessages.ID_NOT_NULL)
	@ApiModelProperty(value = "宝石类型ID", required = true)
	private Integer baoshiId;

	/**
	 * 装备类型ID
	 */
	@Positive(message = "装备类型ID" + CustomMessages.ILLEGAL)
	@NotNull(message = "装备类型" + CustomMessages.ID_NOT_NULL)
	@ApiModelProperty(value = "装备类型ID", required = true)
	private Integer equipmentId;
}